package com.hongye.consult.controller;

import com.hongye.common.core.web.domain.AjaxResult;
import com.hongye.consult.service.ConsultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: hongye-house-cloud
 * @BelongsPackage: com.hongye.consult.controller
 * @Author: songYuHang
 * @CreateTime: 2025-02-13  19:47
 * @Description: TODO
 * @Version: 1.0
 */
@RestController
@RequestMapping("/consult")
public class ConsultController {

    @Autowired
    private ConsultService consultService;


    @GetMapping("/friendList")
    public AjaxResult friendList(){
        return AjaxResult.success(consultService.friendList());
    }


}
